package com.yh.correct.model;

import java.util.Date;

/**
 * 外出请假表所对应的实体类
 * 
 * @author swj
 * 
 * id,jid,pid,bourn,reason,date,target,relation,zz_status
 * org,address,startdate,enddate,location,status,remark
 *
 */
public class LeavePersonnel {

	/**
	 * 请假编号
	 */
	private int id;
	/**
	 * 矫正单位
	 */
	private int jid;
	/**
	 * 服刑人员编号
	 */
	private int pid;
	/**
	 * 目的地
	 */
	private String bourn;
	/**
	 * 请假事由
	 */
	private String reason;
	/**
	 * 请假日期
	 */
	private Date date;
	/**
	 * 被访对象
	 */
	private String target;
	/**
	 * 对象关系
	 */
	private String relation;
	/**
	 * 政治面貌
	 */
	private String zz_status;
	/**
	 * 工作单位
	 */
	private String org;
	/**
	 * 家庭地址
	 */
	private String address;
	/**
	 * 起始日期
	 */
	private Date startdate;
	/**
	 * 截止日期
	 */
	private Date enddate;
	/**
	 * 请假区域
	 */
	private String location;
	/**
	 * 状态
	 */
	private String status;
	/**
	 * 备注
	 */
	private String remark;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getJid() {
		return jid;
	}
	public void setJid(int jid) {
		this.jid = jid;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getBourn() {
		return bourn;
	}
	public void setBourn(String bourn) {
		this.bourn = bourn;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
	public String getRelation() {
		return relation;
	}
	public void setRelation(String relation) {
		this.relation = relation;
	}
	public String getZz_status() {
		return zz_status;
	}
	public void setZz_status(String zz_status) {
		this.zz_status = zz_status;
	}
	public String getOrg() {
		return org;
	}
	public void setOrg(String org) {
		this.org = org;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Date getStartdate() {
		return startdate;
	}
	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}
	public Date getEnddate() {
		return enddate;
	}
	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Override
	public String toString() {
		return "LeavePersonnel [id=" + id + ", jid=" + jid + ", pid=" + pid + ", bourn=" + bourn + ", reason=" + reason
				+ ", date=" + date + ", target=" + target + ", relation=" + relation + ", zz_status=" + zz_status
				+ ", org=" + org + ", address=" + address + ", startdate=" + startdate + ", enddate=" + enddate
				+ ", location=" + location + ", status=" + status + ", remark=" + remark + "]";
	}
	
	
	
}
